package com.erp.programmer.dto;

import com.erp.programmer.annotation.ValidateEntity;

/**
 * @Author: Takagi3
 * @QQ: 870089046
 * @VX: HandsomeMY_
 * @Date: create in 2021/5/23 19:57
 */
public class SellCompanyDto {


    private String  id;
    @ValidateEntity(required=true,requiredMaxLength=true,requiredMinLength=true,maxLength=16,minLength=1,errorRequiredMsg="卖方公司名称不能为空！",errorMaxLengthMsg="卖方公司名称长度不能大于16位！",errorMinLengthMsg="卖方公司名称长度不能小于1位！")
    private String  name;
    @ValidateEntity(required=true,requiredMaxLength=true,requiredMinLength=true,maxLength=32,minLength=1,errorRequiredMsg="卖方公司地址不能为空！",errorMaxLengthMsg="卖方公司地址长度不能大于32位！",errorMinLengthMsg="卖方公司地址长度不能小于1位！")
    private String  address;
    @ValidateEntity(required=true,requiredMaxLength=true,requiredMinLength=true,maxLength=11,minLength=1,errorRequiredMsg="卖方公司电话不能为空！",errorMaxLengthMsg="卖方公司电话必须为11位！",errorMinLengthMsg="卖方公司电话必须为11位！")
    private String  phone;

    private String searchContent;

    private String searchType;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSearchContent() {
        return searchContent;
    }

    public void setSearchContent(String searchContent) {
        this.searchContent = searchContent;
    }

    public String getSearchType() {
        return searchType;
    }

    public void setSearchType(String searchType) {
        this.searchType = searchType;
    }
}
